﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="jobsearch.ascx.cs" Inherits="UserControls_jobsearch" %>
<asp:Panel ID="Panel1" runat="server" Width="100%">
   <div style="width:100%; height:100%;">
  
   <asp:Label EnableViewState="false" runat="server" ID="lblMsg" Text="" />
   <div style="width:100%; height:100%;">
            
                <div style="width:100%;">
                <h2><%= Convert.ToString( TotalJobs) %> Jobs Found</h2> 
               </div>
                <div style="height:100%;"><div class="mid-inner" style="height:100%;"><div class="mid" style="height:100%;">     
                
                    <!-- Content Goes Here! -->
                    
                            <asp:GridView 
                                ID="grdProject" runat="server" 
                                 AutoGenerateColumns="false" 
                                AllowPaging="true" AllowSorting="true"
                                CssClass="datatable" CellPadding="0" CellSpacing="0" 
                                BorderWidth="0" GridLines="None" width="100%" OnRowCommand="grdProject_RowCommand" 
                     
                    
                    OnPageIndexChanging="grdProject_PageIndexChanging"  DataKeyNames="PostingID" Height="100%" >
                                <PagerStyle CssClass="pager-row" />
                                <RowStyle CssClass="row" />
                                <PagerSettings 
                                    Mode="NumericFirstLast" PageButtonCount="7"
                                    FirstPageText="«" LastPageText="»"  
                                />
                                <Columns>
                                  <asp:TemplateField HeaderText="">
                                     <ItemTemplate>
                                       <div style="width:100%; text-align:justify;">
                                         <div align="left" style="width:100%; height:100%;"><asp:CheckBox ID="chkJob" EnableViewState="true" runat="server" Text='<%# Eval("Title") %>' /><br />
                                          <span class="para"> &nbsp;&nbsp;(Opening Date : <%# Eval("OpeningDate")%></span> | <span class="para">Closing Date : <%# Eval("ClosingDate") %>)</span> <span class="para">Remaining Days : <%# Eval("RemainingDays")%></span> </div>
                                         <div style="width:100%; margin-left:5px;"><asp:LinkButton ID="lnkJobHeader" runat="server" CssClass="jobsearchitemheader" Text='<%# Eval("Title") %>' CausesValidation="false" /> 
                                         <span class="para" style="margin-left:10px;" >( <%# Eval("MinExp") %> - <%# Eval("MaxExp") %> Months )</span>
                                         <br /><span class="para" style="font-weight:bold;">Location</span><br />
                                         <asp:Label ID="lblLocation" runat="server" CssClass="JobLocation" Text='<%# Eval("City") %>' /><br />
                                         <asp:Label ID="lblDesc" runat="server" CssClass="JobDesc" Text='<%# Eval("JobDescription") %>' />
                                         </div>
                                       </div>
                                        
                                        
                                        
                                     </ItemTemplate>
                                  </asp:TemplateField>
                                  
                                </Columns>
                            </asp:GridView>
                                         
    
                </div></div></div>
                         
    
    </div><br />
     <asp:Button ID="btnApply" runat="server" CausesValidation="false" Text="Apply" Height="20px" OnClick="Apply_Click" /> <asp:Button ID="btnSave" runat="server" CausesValidation="false" Text="Save" Height="20px" OnClick="Save_Click" /> 
    </div>

</asp:Panel>


